﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebAPI.Filter;

namespace WebAPI.Controllers
{
    [ApiActionFilter]
    public class JavaScriptController : ApiController
    {
        // POST api/values
        public string TestPost([FromBody]string value)
        {
            return "测试";
        }

        public string GetToken([FromBody]string value)
        {
            return "sdssdsfdsfsdfds";
        }
    }
}
